package com.skin.onlineschool.springclond.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableConfigServer
@EnableDiscoveryClient
@SpringBootApplication
public class ServerConfigApplication {
	public static void main(String[] args)
	{
		SpringApplication.run(ServerConfigApplication.class, args);
		System.out.println("配置中心(server-config)启动成功，请接着其他服务");
	}
}
